package BaseObject.wrapper;

/**
 * ClassName: WrapperDType
 * Package: BaseObject.wrapper
 * Description:
 *
 * @Author Linshio
 * @Create 2025/4/6 18:10
 */
public class WrapperDType {
    public static void main(String[] args) {
        // integer -> string
        Integer i = 20;
        String string = i.toString();
        String s = String.valueOf(i);
        String s1 = i + "";

        //string -> integer
        int i1 = Integer.parseInt(string);

        System.out.println("string = " + string);
        System.out.println("i1 = " + i1);
    }
}
